package com.qidianit.mes.production.mapper;

import com.qidianit.mes.pojo.Process;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author djl
 * @Time 2024/10/15 23:27
 */
public interface ProcessMapper {
    List<Process> selectList(@Param("processId") String processId, @Param("processName") String processName, @Param("processStatus") Integer processStatus);

    Process selectByProcessId(String processId);

    void addNewProcess(Process process);

    Integer deleteProcess(String processId);

    Integer countProcess();

    Integer editProcess(Process process);

    Integer reDelete(@Param("processIds") String[] processIds);

    List<Process> queryAll();
}
